package com.soulless.simple;

/**
 * @author zenglei
 * @Description 功能描述
 * @date 2022/11/22 01:29
 */
public class CourseBuilder implements ICourseBuilder {

    private Course course = new Course();

    public void addName(String name) {
        course.setName(name);
    }

    public void addPpt(String ppt) {
        course.setPpt(ppt);
    }

    public void addVideo(String video) {
        course.setVideo(video);
    }

    public void addNote(String note) {
        course.setNote(note);
    }

    public void addHomework(String homework) {
        course.setHomework(homework);
    }

    public Course builder() {
        return course;
    }

}
